Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add analyzers for Regex.Match(...).Success and Regex.Matches(...).Count #7547

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stephentoub
Copy link
Member

@stephentoub stephentoub commented Jan 24, 2025

@stephentoub stephentoub requested a review from a team as a code owner January 24, 2025 21:47
@stephentoub stephentoub requested a review from joperezr January 25, 2025 23:06
@stephentoub stephentoub force-pushed the addregexismatchcountanalyzer branch from 06fd4bf to fd62b29 Compare January 28, 2025 19:55
Copy link

codecov bot commented Jan 28, 2025

Codecov Report

Attention: Patch coverage is 97.42268% with 10 lines in your changes missing coverage. Please review.

Project coverage is 96.50%. Comparing base (3746107) to head (fd62b29).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7547      +/-   ##
==========================================
- Coverage   96.50%   96.50%   -0.01%     
==========================================
  Files        1452     1455       +3     
  Lines      347575   347963     +388     
  Branches    11418    11427       +9     
==========================================
+ Hits       335436   335798     +362     
- Misses       9244     9265      +21     
- Partials     2895     2900       +5     

Copy link
Member

@joperezr joperezr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks Steve!

@stephentoub stephentoub force-pushed the addregexismatchcountanalyzer branch from fd62b29 to 74d5759 Compare January 31, 2025 15:06
@stephentoub stephentoub enabled auto-merge (squash) January 31, 2025 15:07
@stephentoub
Copy link
Member Author

stephentoub commented Jan 31, 2025

@joperezr, could you re-approve? I rebased to renumber the analyzers after another new one was merged with a conflicting number. Thanks.

@joperezr
Copy link
Member

Not sure if my approval works though, looks like I don't have write access to the repo

@stephentoub
Copy link
Member Author

Ah, you're right, thanks, anyway.

@stephentoub
Copy link
Member Author

stephentoub commented Jan 31, 2025

@jeffhandley, can you review or find someone to? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants